package model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "AGENCE_CTM")
public class AgenceCTM {
	private String idagence;
	private String nomagence;

	public AgenceCTM() {
	}

	public AgenceCTM(String nomagence) {
		this.nomagence = nomagence;
	}

	public AgenceCTM(String idagence, String nomagence) {
		this.idagence = idagence;
		this.nomagence = nomagence;
	}

	@Id
	@Column(name = "ID_AGENCE")
	public String getIdagence() {
		return idagence;
	}

	public void setIdagence(String idagence) {
		this.idagence = idagence;
	}

	@Column(name = "NOM_AGENCE")
	public String getNomagence() {
		return nomagence;
	}

	public void setNomagence(String nomagence) {
		this.nomagence = nomagence;
	}

}
